package dwl.graduation.design.controller;


import dwl.graduation.design.service.AlgorithmService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.io.IOException;

@RestController
@RequestMapping(path = "/algorithm")
public class AlgorithmController {
    @Autowired
    private AlgorithmService algorithmService;

    @RequestMapping("/dbscan")
    public void showDBSCAN(){
        algorithmService.showDBSCAN();
    }

    @RequestMapping("/forest")
    public void showForest(){
        algorithmService.showForest();
    }
}
